<ul class="nav navbar-top-links navbar-right">
    <li ng-repeat="menuItem in menuConfigData" ng-click="clickOn(menuItem.tag, 1)" id="li-{{menuItem.tag}}" ui-sref-active="active"
        ng-if="menuItem.show">
        <a ng-if="menuItem.sref" ui-sref="{{menuItem.sref}}" ng-click="check()">
            <i class="{{menuItem.icon}}"></i> {{menuItem.name}}
        </a>
        <a ng-if="!menuItem.sref && menuItem.tag!=='subtitle'" href="">
            <i class="{{menuItem.icon}}"></i> {{menuItem.name}}
            <span class="fa arrow"></span>
        </a>
        <a ng-if="!menuItem.sref && menuItem.tag=='subtitle'" class="navbar-title">
            <i class="{{menuItem.icon}}"></i> {{menuItem.name}}
        </a>
        <ul ng-if="menuItem.child" class="nav nav-second-level collapse">
            <li ng-repeat="childItem in menuItem.child" ng-click="clickOn(childItem.tag, 2)" id="li-{{childItem.tag}}" ui-sref-active="active"
                ng-if="childItem.show">
                <a ng-if="childItem.sref" ui-sref="{{childItem.sref}}" ng-click="check()">
                    <i class="{{childItem.icon}}"></i> {{childItem.name}}
                </a>
                <a ng-if="!childItem.sref" href="">
                    <i class="{{childItem.icon}}"></i> {{childItem.name}}
                    <span class="fa arrow"></span>
                </a>
                <ul ng-if="childItem.child" class="nav nav-third-level collapse">
                    <li ng-repeat="childOfChildItem in childItem.child" ng-click="clickOn(childOfChildItem.tag, 3)" id="li-{{childOfChildItem.tag}}"
                        ui-sref-active="active" ng-if="childOfChildItem.show">
                        <a ng-if="childOfChildItem.sref" ui-sref="{{childOfChildItem.sref}}" ng-click="check()">
                            <i class="{{childOfChildItem.icon}}"></i> {{childOfChildItem.name}}
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </li>
    <!-- /.dropdown -->
    <!-- <li class="dropdown" ng-controller="Common.layout">
        <a class="dropdown-toggle" style="cursor:pointer" data-toggle="dropdown">
            <i class="fa fa-user fa-fw"></i> {{user.userName}}
            <i class="fa fa-caret-down"></i>
        </a>
        <ul class="dropdown-menu dropdown-user">
            <li>
                <a href="javascript:void(0);" ng-click="Logout();">
                    <i class="fa fa-sign-out fa-fw"></i> 注销</a>
            </li>
        </ul>
    </li> -->
    <!-- /.dropdown -->
</ul>